package com.newgrand.service;

import com.newgrand.domain.model.I8ReturnModel;
import com.newgrand.domain.model.PurchasePlan;

import java.util.List;

/**
 * @创建人：ZhaoFengjie
 * @修改人：ZhaoFengjie
 * @创建时间：15:23 2022/10/11
 * @修改时间:：15:23 2022/10/11
 */
public interface PurchasePlanService {

    I8ReturnModel<String> save(PurchasePlan.PurchasePlanData data, String orgId);

    void saveBatch(List<PurchasePlan.PurchasePlanData> data, String orgId);

    List<PurchasePlan.PurchasePlanData> getData(String orgId);

    I8ReturnModel<List<PurchasePlan.PurchasePlanData>> getDataByOrgId(String orgId);

    I8ReturnModel<String> saveDataByOrgId(String orgId);
}
